<{include file="admin:common/header.html"}>
<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0" >
      <tr>
        <td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
        <th><{$MOD.title}></th>
        <td align="right"><{link ctl="block/block:index" priv="hidden" class="button"}></td>
        <td width="15"></td>
      </tr>
    </table>
</div>
<ul class="tb">
<div class="page-data">
<form action="?block/block-config.html" mini-form="block-form"  method="post" >
<input type="hidden" name="data[block_id]" value="<{$detail.block_id}>" />
<table width="100%" border="0" cellspacing="0" class="table-data form">
<tr><td colspan="10"><textarea id="block_tmpl" name="data[tmpl]" class="textarea" style="width:520px;height:200px;font-size:14px;line-height:20px;"><{$tmpl}></textarea></td></tr>
<tr><td class="clear-td-bottom" colspan="10"><input type="submit" class="bt-big" value="提交数据" /></td></tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" class="table-data table">
        <tr><th class="w-300">解释</th><th class="w-300">语法</th></tr>
         <tr><td>标题</td><td>&lt;{$item.title}&gt;</td></tr>
        <tr><td>循环</td><td>[loop]..[/loop]</td></tr>        
        <tr><td>链接地址</td><td>&lt;{$item.link}&gt;</td></tr>        
        <tr><td>图片链接</td><td>&lt;{$item.thumb}&gt;</td></tr>        
    </table>
</div>
<script type="text/javascript">
$(function() {
    $("a[button]").button().click(function( event ) {event.preventDefault();});
});
</script>
<{include file="admin:common/footer.html"}>